package com.zhaozhe.sort;

/**
 * Created by ghjou on 2018/3/7.
 */
public class BinaryFindTest {
    /**被搜索数据的大小**/
    private static final int size = 5000000;

    public static void main(String[] args) {
        BinaryFind binaryFind = new BinaryFind();
        long[] data = new long[size];
        //添加测试数据
        for(int k = 0; k < data.length; k++){
            data[k] = k;
        }
        //要查找的数据
        long target = 4970002;
        binaryFind.binaryFindTest(data, target);
    }
}
